<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="com.pengtu.entity.app.User"%>
<%@page import="com.pengtu.security.SpringSecurityUtils"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<%@ include file="/common/meta.jsp" %>
<title>东莞交通质量监督站综合业务系统</title>
		<link href="${ctx}/styles/master/layout.css" rel="stylesheet" type="text/css"/>
		<%@ include file="/common/jquery.jsp" %>
<!--[if lte IE 7]>
<link href="${ctx}/styles/master/patches/patch_layout.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript"> 
    $(document).ready(function(){
    	$.get("${ctx}/asset/message/news!newsResponse.action",function(data0){
    		$("#tagContent1").html(data0);
    			}
    		)
    	$.get("${ctx}/business/home!homeFront.action",function(data0){
			$("#tagContent0").html(data0.content);
			$("#homeCount").html(data0.count);
				}
			)
    	 $.get("${ctx}/asset/message/publish!noticeFront.action",function(data2){
    	    $("#tagContent2").html(data2);
    	    	})
   	 	$.get("${ctx}/app/messageinfo!getNoReadCount.action",function(data){
				$("#nscount").html(data);
			});
    	getCurrentDate2();
    	setInterval("getCurrentDate2()",1000);
	});
	function selectTag(showContent,selfObj){
		// 标签
		$("#tags li").removeClass();
		$("#"+selfObj).addClass("selectTag");
		// 标签内容
		$("div#tagContent div").hide();
		$("#"+showContent).show();
	}
</script>
<style type="text/css">
.front_news{
padding-left: 20px;
overflow: hidden;
text-overflow: ellipsis;
}
.frontContent table{
			border-top: 1px #b8bab9 solid;
		border-bottom: 1px #b8bab9 solid;
}
.frontContent td{
	padding: 0.5em;
}
</style>
</head>
<body>

<div class="page_margins">
  <div class="page">
    <div id="header" class="main">
    <div>
         <div id="navm" >
		      <div class="mlist">
		        <ul>
		           <li class="current" ><a href="${ctx}/" class="fm "  >首　　页</a></li>
		           <li><a href="${ctx}/work/" class="sm">日常办公</a></li>
		           <li><a href="${ctx}/receive/" class="tm">收样管理</a></li>
		           <li><a href="${ctx}/measure/"  class="zm">试验管理</a></li>
		           <li><a href="${ctx}/check/" class="fim">审核管理</a></li>
		           <li><a href="${ctx}/report/" class="sim">报告管理</a></li>
		           <li><a href="${ctx}/stat/"  class="zhm">综合查询</a></li>
		           <li><a href="${ctx}/quality/" class="eim">质量管理</a></li>   
		        </ul>
		      </div>
		   </div>
	</div>
    </div>
    <!-- end: main navigation -->
    <!-- begin: main content area #main -->
    <div id="main">
      <!-- begin: #col1 - first float column -->
      <div id="col1" role="complementary">
        <div id="col1_content" class="clearfix">
       		<jsp:include page="/common/mainMenu.jsp" flush="true" />
        </div>
      </div>
      <!-- end: #col1 -->
      <!-- begin: #col3 static column -->
      <div id="col3" role="main" >
        <div id="col3_content" class="clearfix">
           <div id="navh" >
           		<jsp:include page="/common/lucence.jsp" flush="true" />
		    <div id="mainav" >
				<span><a href="javascript:createMessageWindow();" id="emssss">消息盒子 </a>|<a href="${ctx}/account">系统管理 </a>|<a href="${ctx}/j_spring_security_logout"> 退出登录</a></span>  
			</div>
		   </div>
		  <div class="usersys"><a href="${ctx }/account/user!loadInfo.action" class="met noprint"><c:if test="${pageContext.request.remoteUser != null}">
												欢迎你:
												<span style="color: red;"><%=((User)SpringSecurityUtils.getCurrentUser()).getName()%></span>&nbsp;
												(<%=((User)SpringSecurityUtils.getCurrentUser()).getOrgName() %>)
								</c:if></a></div>  
          <div class="usermsg" >你共有<a href="javascript:createMessageWindow();">(<span style="color: red;" id="nscount"></span>)条消息</a>,有<a href="${ctx}/business/home!input.action" >(<span style="color: red;" id="homeCount">0</span>)个待处理事项</a></div>
          <div class="userset"><span id="currentDate" style="padding-top: 8px;"></span> <a href="${ctx }/account/user_pass.action" class="chpwd">修改密码</a>|<a href="${ctx }/account/user!loadInfo.action" class="chinfo">修改信息</a>|<a href="${ctx}/j_spring_security_logout" class="chexit">退出登录</a>|<a href="#"  class="chhelp">帮助中心</a></div>          
          <DIV id=con>
			<UL id=tags>
			  <LI id="tag0" class="selectTag" onClick="selectTag('tagContent0','tag0')" ><A href="javascript:void(0)">待办事宜</A></LI>
			  <LI id="tag1" onClick="selectTag('tagContent1','tag1')" ><A href="javascript:void(0)">新闻中心</A></LI>
			  <LI id="tag2" onClick="selectTag('tagContent2','tag2')" ><A href="javascript:void(0)">文档中心</A></LI>
			</UL>
			<DIV id=tagContent>
			<DIV class="tagContent selectTag" id=tagContent0></DIV>
			<DIV class="tagContent" id=tagContent1></DIV>
			<DIV class="tagContent" id=tagContent2></DIV></DIV></DIV>
		    </div>
      </div>
      <!-- end: #col3 -->
      <!-- begin: #col3 static column --> 
        <div id="ie_clearing">&nbsp;</div>
        <!-- End: IE Column Clearing -->
      <!-- end: #col3 -->
    </div>
    <!-- end: #main -->
  </div> 
  </div>

  <!-- begin: #footer -->
  <div id="footer" role="contentinfo">
    <div id="footer_content">
    <%@ include file="/common/footer.jsp" %>
    </div>
  </div>

<!-- full skip link functionality in webkit browsers -->
<script src="${ctx}/scripts/plugin/focusfix.js" type="text/javascript"></script>
</body>
</html>


